package pl.pw.mkmw.pnganimator.image.chunks;

import pl.pw.mkmw.pnganimator.exception.ChunkNotInitializedException;

/**
 *
 * @author Michał
 */
public interface Chunk {
    
    public byte [] getChunk() throws ChunkNotInitializedException;
    
    public byte [] getChunkData();
    
    public int getLength();
    
    public byte [] getChunkType();
    
    public byte [] getCRC();
    
    public void setChunkData(byte [] data);
    
    public void setLength(int len);
    
    public void setChunkType (byte [] ct);
    
}
